

<div id="mailconfig-edit">
    <div class="title">
        Set Email Information
    </div>
    <form action="__APP__/SetMail/setemailconfig" method="post">
        <input type="hidden" name="filename" value="mailconfig.inc.php" />
        <table>
            <tr>
                <th>
                    Enable：
                </th>
                <eq name="Think.config.ENABLE" value="1">
                    <td><input type="radio" checked="checked" name="enable" value="1" />Yes
                        <input type="radio" name="enable" value="0" />No
                        <else />
                    <td><input type="radio" name="enable" value="1" />Yes
                        <input type="radio" name="enable" checked="checked" value="0" />No
                </eq>

            </tr>
            <tr><th>Email Server：</th><td><input type="text" name="emailserver" value="<{$Think.config.EMAILSERVER}>" /></td></tr>
            <tr><th>Email Port：</th><td><input type="text" name="emailport" value="<{$Think.config.EMAILPORT}>" /></td></tr>
            <tr><th>From Email：</th><td><input type="text" name="fromemail" value="<{$Think.config.FROMEMAIL}>" /></td></tr>
            <tr><th>Email Alias：</th><td><input type="text" name="fromemailalias" value="<{$Think.config.FROMEMAILALIAS}>" /></td></tr>
            <tr><th>Password：</th><td><input type="password" name="password" value="<{$Think.config.PASSWORD}>" /></td></tr>
            <tr><td></td><td><input type="submit" class="submit" value="修改邮件配置" /></td></tr>
        </table>
    </form>
</div>